package com.jlf.controller.engine.entity.field;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 模型字段的批量新增输入
 *
 * @author wujr
 * 2023/7/16
 * @version 1.0
 * 【变更历史】
 * [wujr 2023/7/16 1.0 新增]
 */
@Getter
@Setter
public class SchemaFieldBatchInput {
    @NotNull(message = "模型领域不能为空")
    private Long domainId;
    @NotEmpty(message = "模型字段不能为空")
    private List<SchemaFieldInput> fields;
}
